﻿@model EmailActivationModel
@using Nop.Web.Models.Customer;
@{
    Layout = "~/Views/Shared/_ColumnsTwo.cshtml";

    //title
    Html.AddTitleParts(T("PageTitle.AccountActivation.AccountNotActive").Text);
}

<div class="page registration-result-page">
    <div class="page-title">
        <h1>@T("Windalert.Account.AccountActivation.AccountNotActive")</h1>
    </div>
    <div class="page-body">
        @if (Model.SuccessfullySent)
        {
            <div class="result">
                @Model.Result
            </div>        
        }
        else
        {
            <div class="result">
                @string.Format(T("Windalert.Account.AccountActivation.AccountNotActive.Message").Text, Model.Email)
            </div>
            using (Html.BeginForm())
            {
            <div class="buttons">
                <input type="submit" id="email-activation-button" class="button-1 register-next-step-button" value="@T("Windalert.Account.AccountActivation.AccountNotActive.SendActivationButton")" name="email-activation-button" />    
            </div>
            }
            <div style="clear:both;"></div>
            <div class="result" style="line-height:20px;margin-top:20px;">
                <strong>@string.Format(T("Windalert.Account.AccountActivation.AccountNotActive.WrongEmail").Text, Model.Email)</strong>
                <br />
                <a href="@Url.RouteUrl("Register")" class="ico-register">@T("Account.Register")</a> - @T("Windalert.Account.AccountActivation.AccountNotActive.Register")
                <br />
                @T("Windalert.Account.AccountActivation.AccountNotActive.Or")
                <br />
                <a href="@Url.RouteUrl("ContactUs")">@T("ContactUs")</a> - @string.Format(T("Windalert.Account.AccountActivation.AccountNotActive.ContactUs").Text, Model.Email)
            </div>
        }
    </div> 
</div>
